<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			// uni.setStorageSync("token",'') 
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

/* App.vue */
<style lang="scss">
@import "uview-ui/index.scss";

/* 解决小程序和app滚动条的问题 */
/* #ifdef MP-WEIXIN || APP-PLUS */
/deep/::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
    -webkit-appearance: none;
    background: transparent;
    color: transparent;
}
/* #endif */

/* 解决H5 的问题 */
/* #ifdef H5 */
/deep/uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
    /* 隐藏滚动条，但依旧具备可以滚动的功能 */
    display: none;
    width: 0 !important;
    height: 0 !important;
    -webkit-appearance: none;
    background: transparent;
    color: transparent;
}
/* #endif */
</style>
